﻿using System.ComponentModel;

namespace Absky.Enum
{
    /// <summary>
    /// 返回请求结果编码枚举
    /// </summary>
    public enum ResultCodeEnum
    {
        /// <summary>
        /// 成功状态码
        /// </summary>
        [Description("请求成功")]
        Success = 200,
        /// <summary>
        /// 失败状态码
        /// </summary>
        [Description("请求失败")]
        Fail = 400,
        /// <summary>
        /// 未登陆状态码
        /// </summary>
        [Description("未登录")]
        NoLogin = 410,
        /// <summary>
        /// 错误状态码
        /// </summary>
        [Description("系统错误")]
        Exception = 500
    }
}
